adding power_set.py code