Add fruit random spawning and eating collision

Fix a crash on windows
When eating a fruit, the snake grow up