Added reverseStrings implementation.