The function takes a string as input and reverses it.

