Update cachematrix.R

Lexical Scoping Assignment2