C++ Game Code Snake