Finished exercise 302. That was a tough one.