adding Tarjan's Algorithm to the example