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