Update cachematrix.R

Initial version