Python Generate All Permutations Python Compiler With Scipy