String reversal now more efficient/idiomatic