Reverse a string using recursion.: Medium Programming Problem