Finished exercise

Just adding summarizing code