Programming Assignment 2

Calculate the inverse of a matrix and then cache so it can be used
again.