Introduction - If you have any usage issues, please Google them yourself
Algorithm used to find the closest point kruskal and groups. If I give the test data given over 2000 points, the closest point in a group, and finally divided into nine groups. Program can be run directly.