Leeching is when you keep asking for everything without wanting to work and figure it out yourself. So I'm gonna give you this as an example, and you're gonna have to work it out from here.
Anyways, 31 students at the same time is too much...it's only going to take a toll on your PC, so I'm gonna cut it down to 24 students, evenly divided between all the cliques you wanted:
Boys_Dorm
24, 0, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, 4,
24, 0, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, 4,
24, 0, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, 4,
24, 0, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, 4,
Enjoy.