Grouping function update #12

Now the grouping function does not account for ungrouped students.
If one student is left he/she is grouped in a new group and not
grouped with some of the other groups.