Implement Knn In Python Without Sklearn