Finding and counting given length cycles
Smallest-last ordering and clustering and graph coloring algorithms