結果 : program to reverse a given string without using built in function