defs of makeCacheMatrix and cacheSolve function