Fixed a bug in the game.
beginning of game Snake V2
changes in the method main.
more small changes in the method main.