Update permutation.py