This main solution consists of two problems - CLosestPair and also Minimal Cost path.You can paste the test data in the command prompt after the program starts or have it read from a file.
It should all work like a charm. Feel free to email me if you have any questions..