結果 : shortest path using breadth first search