General routine for a permutation test Skeleton for a general routine for the permutation test. Please read the instructions in permute_general.py.