cachematrix.R: Programming Assignment2 for Lexical Scoping