Generate words from double word permutations