Implemented gcdm(), although I'm not sure if it will be needed.
Implemented Permutation.sign().
Implemented Permutation.order().