Update cachematrix.R

Rprog-08 assignment for week 3 by firearasi