My self-designed implementation of Tetris