Finished exercise on chapter 3