Adds method for building scedules given a list of classes the must be in each schedule