Update cachematrix.R

Exercise completed