Added Thursday lab's code

Hey @mattlockyer. I added the code that I wrote live during Thursday's lab. Feel free to merge the code in.