./combinations.pl a b output: a,a a,b b,a b,b