Finished work on Part 3 of Assignment 2