Added solution to Exercise 1.5