Finished homework "Defining classes 2"