Update cachematrix.R

committing changes