modifying Traverser for Ford & Fulkerson algorithm