Breadth-first search uploaded