added python3 version of snake.py