Updated makeCacheMatrix() and cacheSolve()