Permutations (Heap's method) (WIP).