Create snake.py

https://github.com/Hawstein/snake-ai/blob/master/snake.py