Added functionality to create all combinations of course occurence