BS [Chapter 22.2]: Breadth first search