Replace callback with generator in Graph::eachAdjacent().

And that's all the generators!