graph: Fix bug in WalkEdges::next_neighbor

It was returning the source node index, not the target node, which was
useless & wrong.
2 files changed