Update cachematrix.R

Committing the Programming assignment 2