Cleaned up code for Gabow's algorithm for generating spanning trees in order.