Solution for exercise 4 in chapter 1