program: reverse_string input: xyzzy output: yzzyx