Closest Pair.pl
This program will read a file specified as an argument line by line.
First line of a test case is the number of coordinates to check,
followed by the coordinates (two per line, X whitespace Y), and
the end of the file will have a line with a single zero on it.

The program will then compare all the coordinates for each test
case and print out the lowest distance for each test case.