Python program to reverse a given string.