Started chapter 4 exercise 7