add exercise 1.2 and check solution