Added: Problem of graph based on BFS