ch5.3 powersets and permutation generation added