completed makeCacheMatrix