Dividing students into random gropups