simulator for tieset-graph theory