permutation towfic