implement and test make-clusterss function