Adding max flow and maximum bipartite matching algorithms