Fix k-means, thx Khanh
Merge Main.java