Improved on the flooding.py class, although it hasn't been tested yet.