Finished exercise 1.20