Reverse a string

    This time you’ll need a buffer; you can use . Here’s the starter code: