Changed the Tetris class to be more idiomatic