Implemented sphere clustering. Unclear stuff with 'mergesort()'.