Update cachematrix.R

cachematrix solved