Strong Components in Directed Graph