Caching the Inverse of Matrix - solve