public static void main (String[] args) {
		int n = 10;
		Point[] p = new Point[n];
		ClosestPairProblem cpp = new ClosestPairProblem();
		Random r = new Random();
		for (int i = 0; i < n; i++) {
			int x = r.nextInt(10);
			int y = r.nextInt(10);
			p[i] = 	cpp.new Point(x, y);
			System.out.print("[i : " + i + " x : " + x + " y : " + y + " ]");
		}
//		Arrays.sort(p, cpp.new PointByX());
		cpp.closestPair(p);
		System.out.println("Point p1 : " + cpp.p1.toString());
		System.out.println("Point p2 : " + cpp.p2.toString());
		System.out.println("min Distance : " + cpp.distance);
	}