A function to generate random teams based on # of students and # of teams