The function reverses the input string.

