cool rail max-flow example