First go at the assignment, cache inverse of matrix and calculate inverse
of matrix