Finished exercise 2 for week 3.