An implementation of several clustering algorithms.