Implement Simple Knn Algorithm Full