more permutations
Merge https://github.com/dizy/hermes
more permutations