Pocket Gems interview question

reverse a string