--- from: http://rosettacode.org/wiki/Power_set note: Discrete math