Completed reverseString function