Assignment 2 - Cached Inverse

a pair of functions to compute and cache the inverse of a matrix