Second assignment complete, added comments.