makeCacheMatrix first implementation