added strongly connected component method (Kosaraju algorithm)