Caching the Inverse of a Matrix

Edited the file with code