Designs a schedule given a number of courses