Update knn.py

change getBest_K() method