A KdTree project for finding nearest neighbors