Adding makeCacheMatrix internal functions