Programming Assignment 2: Lexical Scoping 

Programming Assignment 2: Lexical Scoping 
Code for Getting the inverse of matrix. using caching we can store the result and need not to calculate same thing again.