k-Nearest Neighbors (k-NN) implementation in R