Computational Geometry Problem of finding permutation of points (in 2D), which tries to preserve the center of mass