Quick function for reversing a string. Prototyped on the string type