ProgrammingAssignment2-completed

Added the solution in the original file.