a tetris clone in c++