Added a file for k-nearest neighbors algorithm interface.