Cache a Matrix and its Inverse

Contains two functions. The first creates a matrix and calculates its
inverse. The second returns the inverse and calculates the inverse if
it doesn't already exist.