add find_the_most_distant_point and clustering functions