Adding methods to compute permutations on digits of a value.