Define makeCacheMatrix and cacheSolve functions