Object Oriented Programming assignment #3