A java app to generate pairs of points