Completed with BFS TriangleSearch Implementation