Completed function makeCacheMatrix and cacheSolve