program to swap 2 strings