Update ProgramAssignment2cachematrix.R