A solution for the third seminar of a course in object-oriented design, IV1350 at KTH Royal Institute of Technology