Completed Assignment

This is a fully working version of the Programming Assignment 2.