Update str_permute.cpp