Commit of completed code for Programming Assignment 2