homework for class and object diagramms