Implementation of Ford-Fulkerson for CS161