The function implemented by f(x) reverses the given input string.
