Finished part 1 and 3 for Proj 2.