Genereer de sets die je kan vormen door N elementen uit een lijst te kiezen.

*Main> combinations 2 "abcdef"
["ab","ac","ad","ae","af","bc","bd","be","bf","cd","ce","cf","de","df","ef"]