updateOccurrence
Remove test code.
Implement primitive version of combinations().
Remove test code.
Remove duplicates from the list of occurrences.
Making sure combinations() works with the empty list as well.
Implement combinations.