HW3

This commit contains all of my code for homework 3.