Program to reverse the letters of an input string and send to stdout