streamlined code of permutation.stlx
typo