Builds cohorts from the newest curriculum of each program, splits them into groups, and creates the sections they need.
Assigns every section a slot pattern, a room and a professor. Runs in a worker thread; the page returns when it finishes.