Tetris written with gridworld framework