Assignment 2 - Matrix Caching

Functions to do inverse of matrix and pull from cache if already set.