Write two functions for assignment 2

A function to create a matrix object that stores a matrix including a
cache for its inverse and a function to return the inverse of the
matrix.