but now unlike breadth-first search where we automatically went to node b next, since that was the other layer one node, here the only rule is that we have to go next to one of a's immediate neighbors.