Assignment Caching the Inverse of a Matrix

Functions to create a matrix object, solve it's inverse and cache.