BFS(shortest path) and QUEUE