A basic string reversal exercise