Implement Simple Knn Algorithm In Machine