Caching matrix inverse

Completed assignment 2 on two functions to cache inverse of a matrix.