Signature of a permutation