adding some documentation, removing re
pep8 stuff
refactors
solves the permutations problem