made maxflow nondestructive for cap, added test
Make maxflow incremental

When running with same ini and end, will reuse existing flow.
Otherwise, will clear flow before computing.
Merge pull request #7 from danielf/graph_dev_maxflow

updated maxflow algorithm