Update cachematrix.R

Submit Lexical Scoping Exercise