Update snake.java