Find the closest pair of points in a set of points in 2D space.
How it works: Divides points by x-coordinate and finds the closest pair efficiently.