Added implementation of a pair of functions that cache the inverse of a matrix.