added kellyo 1NN R function
Merge pull request #78 from kellobri/addHomework

added kellyo 1NN R function