Compute all sub-sets of a string with out using Recursion.

Compute all sub-sets of a string.
With out Recursion.
Print the outcome to console