UKG Interview Question

Fix some code that involved OOP concepts.