I know this is solved but I will step in for one small correction to the posts above.
when editing the lines for pedpop or any of the files that have population data....the very first number in each line is the total of every number in that line added together. For example if you have for the boys dorm:
Boys_Dorm
5, 0, 2, 4, 5, 4, 0, 2, 0, 0, 0, 0, 1
1, 0, 0, 4, 5, 4 0, 1, 0, 0, 0, 0, 0
4, 0, 1, 4, 5, 4, 0, 2, 0, 0, 0, 0, 1
1, 0, 0, 4, 5, 4, 0, 1, 0, 0, 0, 0, 0
the numbers on the far left for each line have to reflect the TOTAL number of the other numbers for each line.
The corrected edit should be:
Boys_Dorm
18, 0, 2, 4, 5, 4, 0, 2, 0, 0, 0, 0, 1,
14, 0, 0, 4, 5, 4 0, 1, 0, 0, 0, 0, 0,
17, 0, 1, 4, 5, 4, 0, 2, 0, 0, 0, 0, 1,
14, 0, 0, 4, 5, 4, 0, 1, 0, 0, 0, 0, 0,
This is the same for the population code in the files inside of trigger.img. This is also the same for the LUA source code for the game too.