assignment week 3

a pair of functions to cache the inverse of a matrix