Saving code into the existing cachematrix.R file