progress in writing makeCacheMatrix