Update cachematrix.R

Peer programming assignment..