Update permutations.cpp