A python code to construct a well known simple snake game.