mincut O((n^2)m) alg running well for small n