Implementation of Assignment: Caching the Inverse of a Matrix