Finished exercise 1 for chapter 8
Finished chapter 8