Add error return, clarify cluster numbering

This adds an error return argument so that cluster sizes
smaller than 1 or larger than the number of nodes cannot be
requested. It also changes the clarifies the for loop that
deletes large edges to form clusters.