Added (few) comments to floodGenerator