implemented makeCacheMatrix body