added knn.py pre-final and bayes