Bisecting Kmeans algorithm implemented with Java