C++ Tetris G++ Compiled. Buggy with text interface