Matching students to unique groups of maximum size