Updated functions makeCacheMatrix, cacheSolve