2048 Game in C - using ncurses