Count the number of adjecencies and breakpoints in a
signed permutation.
Add the following two methods to the class SignedPermutation:
A method adjecencies that takes no arguments. The method must return the number of adjecencies in the signed permutation.
A method breakpoints that takes no arguments. The method must return the number of breakpoints in the signed permutation.
>>> SignedPermutation(+3, +4, +5, -12, -8, -7, -6, +1, +2, +10, +9, -11, +13, +14).breakpoints() 8