bug fixes, rewrote Subgroups3.pg
Merge pull request #103 from nichols/master

bug fixes, rewrote Subgroups3.pg