結果 : reverse a string without using string function