Simple k-NN example