1-NN

Implementation of 1-NN