Update MaxFlow.java