Max flow: Edmonds-Karp

This includes an implementation of the edmonds-karp algorithm for computing max flow on a network, as well as some tests.