Add breadth first search