add Kmeans.java and finish readfile function