A jython class for generating Reversal orders.
Major refactor and rewrite. This version breaks all dependencies.