Added graph breadth-first search algorithm