Adds iterative version of tarjans.