Add solution for exercise 1.11