Algorithm QT_Clust takes as input the set Gof ORFs and a diameter threshold d, and returns a set of clusters.