Add UML class diagram for exercise 3.8