Managed to figure out and implement the algorithm to generate a group
Listing in the groupListing class (formerly named group). Also slightly
edited studentArray and run.