fixed: last student did not get assigned to any group.
added several printouts
enhanced printouts
always outputs 50 lines (constant), fills up with blank lines in the end, making sure old values are overwritten when pasting into the spreadsheet