cachematrix.R for studying Lexical Scoping completed and tested