Converting mongo to breadth first
More mongo breadth first