working on the find_nearest_point sub