Hi I\'m currently looking for a algorithm to from groups based on ranking choices. For example, I have a class of 20 and I would want groups of 3 and the rest to be in group