BFS for graph added