simple script to reverse a string. nothing to crazy