The function takes a string input and outputs the reverse of that string.

