Added KMeansClassifier.java, with changes to implementation of tf_idf and cosine similarity