added solution to Exercise 5.4