libssrckdtree knn example code