Update cachematrix.R

Edit's version