added functions to create a CacheMatrix object and return the object's inverse from cache when possible