snake game code in c++