Finished makeCacheMatrix and cacheSolve function