caching an inverse matrix

Pair of functions that cache an inverse of a matrix