wrote and commented  a pair of functions that cache the inverse of an invertible matrix