generate all combination of free schedule