Update cachematrix.R

Solution