fixed topological sort.
added method to reverse a directed graph.
completed kosaraja algo for strongly connected components.