edit cachematrix.R (Assignment2-class.coursera.org/rprog-00)