Final. Code works!
First submit.