Power Set Generation - Coding problem | OneNoughtOne