Create findMaxSnake