Added 'reverse' method for strings