Firt part of Dinic algorithm
Merge branch 'master' of github.com:burk/image-restoration