結果 : recursive function to reverse a string