Prepared the sketch of the program, i.e. reused the classes from exercise sheet 1 that will be useful for this task as well.