Update Snake.java

Snake doesn't go backwards