Bewjeweled-like game written in C++