結果 : generate all combinations of n elements python