[Algo2] Added max-spacing k-clustering algorithm.