Demonstration that uses function to return a string in reversed order