Adding class diagram for first problem