new method to generate all possible permutations of schedules.  Haven't
added in functionality to check whether it is a valid schedule.