Update cachematrix.R

Submission #1