[clustering.xmeans] Prototype of X-Means algorithm