Add implementation of function to calculate all powersets

Without space leaks and duplicated calculations
Add function to convert strings into binary ASCII and back