How to solve Coding Challenge 78. Subsets