Added variable ordering to iterative pseudo tree creation. Generated jar that uses variable ordering.
Tested ordering for validity.