Update cachematrix.R

Homework