Program to Cache time consuming computations.

this program has 4 function which are used to calculate the inverse of the inverse of the matrix and the to cache the results