Snake game(console) with c++