Mod2

Here's my code for the first half of week 2! Any comments are most welcome!