Given a string in which words are separated by spaces, and two words a and b, interchange all occurrences of a and b. This comparison is case sensitive.