Added string reversal algorithms