program for creating random pairs of students