Transitive closure in O(V**2 E) time.
TransitiveClosureBFS in O(V*(V+E)) time.
TransitiveClosureDFS in O(V*(V+E)) time.
Connected components added.