Java implementation of network flow algorithms.