Finish exercise 1 Chapter 7