makeCacheMatrix implemented