Refactor catch of illegal sparse_rail_generator.py parameters
When paramters are chosen such that less than 2 cities are built we catch this by aborting the construction.
We should refactor how this exception is handled and document it clearly. Catch error