Make generator more universal

Add the method for getting width in "TetrisGame"