2048 game in C for commandline