write a function called swap pairs that accepts a string as a parameter and returns that string with each pair of adjacent letters reversed. if the string has an odd number of letters, the last letter is unchanged. for example, the call swap pairs('example') should return 'xemalpe' and the call swap pairs('hello there') should return 'ehll ohtree'.