Added maxflow code. Canned tests run without error. No guarantees on correctness of output