program to find two closest points in a space containing points which are distributed randomly and the analysis of the approaches