Programming Assignment # 2

functions to compute a matrix inverse and to store the matrix and its
inverse to avoid unnecessary computations.