Game 2048, written in C++