A breadth-first searcher