An implementation of a novel clustering algorithm