Reverse a string

using string buffer and character array