Given is a set of n points with integer coordinates. Your task is to decide whether the set has a center of symmetry.
A set of points S has the center of symmetry if there exists a point s (not necessarily in S) such that for every point p in S there exists a point q in S such that p-s = s-q.