MaxFlow2.scala computes the Max Flow without using a matrix for the graph storage