def SCCSearch(self, v_sorted):
    self.t = 0
    self.finish_time = {}
    explored_list = {}
    for v in self.graph.keys():
        explored_list[v] = False
    leaders = {}
    for v in v_sorted:
        if (not explored_list[v]):
            leaders[v] = []
            self.SCCSearch_DFS(v, explored_list, leaders[v])
    return (self.finish_time, leaders)
def SCCSearch(self, v_sorted):
    self.t = 0
    self.finish_time = {}
    explored_list = {}
    for v in self.graph.keys():
        explored_list[v] = False
    leaders = {}
    for v in v_sorted:
        if (not explored_list[v]):
            leaders[v] = []
            self.SCCSearch_DFS(v, explored_list, leaders[v])
    return (self.finish_time, leaders)