perm, a list, a permutation of the list of numbers from 0 to n-1
Outputs:
an instance of the type Partition, a partition that represents the conjugacy class of the permutation
Description
The method first calculates the cycle decomposition of the permutation Then the conjugacy class is the partition given by the lengths of the cycles in the decomposition