Update cachematrix.R

Submiting the assignment