Added maxflow solver