title: Swap characters in string
body: <p>I am new to python and I want to know how can I swap two characters in a string. I know string is immutable so I need to find a way to create a new string with the characters swapped.
  Specifically, a general method which takes a string and two indexes i,j and swaps the character on i with j.</p>