Minor bug fix in snake_example.py

Fixed bug in snake_example.py where the apple could spawn on the snake.