Fixing bug in permutation method for strings containing "0"
#24 solved.