reverses a user input string two different ways