Updated makeCacheMatrix() and cacheSolve() functions to compute and
cache matrix inverse.