Added Breadth-First Search algorithm