Exercise 1.1 solved