added tarjan's scc algorithm implementation