Bfs Traversal Of Directed Graph