Update cachematrix.R

Programming Assignment 2