CSC421 Project 1 - Finds the closest pair of points from an input list