Coursera homework

Coursera homework - caching inverse matrices.