Add graph breadth-first search