/***********************************************************************/
//This function clusters based on the single linkage method.
/***********************************************************************/
//This function clusters based on the single linkage method.