Caching the inverse of a matrix

Assignment 2