finished exercise 1
finished chapter 8