finding strongly connected components in a graph.
course week4.