Modify the contents of cachematrix.R

-For Coursera ProgrammingAssignment2