strReverse function

reverse a string