Generation of groups, and setting section colors based on density.
removed print statemtn
Merge branch 'generalizing'