Python Tetris and documentation