Decrease And Conquer Topological Sort Bfs Algorithm In Artificial Intelligence