Added solution to Exercise 1.10.