Created array to store possible schedules and their corresponding shortest and longest spans