updated String Reversal with recursive solution