these two algorithms battle for supremacy, you can specify a graph and see when they explode!