Solved the Exercise 1.1.