Update cachematrix.R

Finished