Add solution for exercise 1.14