Implemented k-clique clustering.