Created and finished exercise 1