Compute the permutations of a list or string.

Updated: