The function f(x) takes a string as input and reverses it.

