ProgrammingAssignment2 final solution.

Final solution for this assignment.