Tetris Python Code Without Pygame Games