Generate All Extreme Permutations Recursively