hi. i try to make a code that can create a timetable (array exam-per) according to array enrollement (student-exam).the timetable array must arrange the elements in such a way that no student of array enrollemet has to sit in two exams in the same period. in first place i create a random timetable(i did it) an then if i multiply timetable*enrollements when an ellement >1 occurs tha means that there is a collision of two exams. (i did it too). now i dont know how to do the rearrange of the elements in array timetable so as to produce a feasible timetable.