network-flow chapter
formatting of algorithm