Python Generate All Permutations Python Compiler