Keys now register and change direction of the snake.