Cache the matrix inverse

2 functions to create a matrix and cache its inverse