Finished exercise 2
Added method stub for exercise 8