Update Permutations of a string.cpp