Completed makeCacheMatrix and cacheSolve.