lab1 shaping up. large data not tested. code may be buggy but no bugs found yet. not yet mentioning the points of closest distance. But closest distance is calculated