created a function that calculates the inverse of a function and caches
the result

git commit -m "function to calculate the inverse of a matrix and caches
the result"