Object-Oriented Software Development homework assignment