Added test input, and mincut algorithm.