OOP Homework- another part done