Caching the Inverse of a Matrix

Write a function to cache the inverse of a matrix