Add Breadth-first search