Commit of solution to ProgrammingAssignment2