Update permutations.c