First tests of MaxMin Method. There are some bugs, but the algorithm is true.