Finished exercise 13, added comments