'Switch the elements `\beta, \gamma \in \Omega` of ``self``, used
by the ``standardize`` procedure, described on Pg. 167 [1].
See Also
standardize'

def switch(self, beta, gamma):

    A = self.A
    A_dict = self.A_dict
    table = self.table
    for x in A:
        z = table[gamma][A_dict[x]]
        table[gamma][A_dict[x]] = table[beta][A_dict[x]]
        table[beta][A_dict[x]] = z
        for alpha in range(len(self.p)):
            if (self.p[alpha] == alpha):
                if (table[alpha][A_dict[x]] == beta):
                    table[alpha][A_dict[x]] = gamma
                elif (table[alpha][A_dict[x]] == gamma):
                    table[alpha][A_dict[x]] = beta
