solution to Combinations