play with tarjans algorithm