Programming Assignment-2

Calculating the inverse of a matrix using caching method.