A variation of Tetris written in C++