MaxFlow.scala computes the Max Flow of any graph. I deleted 68 lines of redundant code