fix the error of snake's length,from 10 to 11.