In 1995, John Baur and Mark Summers invented a new holiday, International Talk Like a Pirate Day. As they proposed it, on every September 19th, people around the world would be encouraged to talk like a pirate (with lots of "Arrrrs" and "Ahoys" and the like). At the official Talk Like a Pirate Day Web site, www.talklikeapirate.com, you can read about the history of the holiday, order official merchandise, and even experiment with a simple Web page that translates simple English phrases into pirate talk.
As we all know from watching too many bad pirate movies, pirates had a penchant for saying "Arrr". Add an additional feature to the Translate function so that it randomly inserts "Arrr." into the text between sentences. Your new code should be added at the end of the function, after the text substitutions have been completed (but before returning the modified text). Your code should traverse the text looking for periods, and after each period randomly decide (with a 50/50 chance) whether to insert an "Arrr." At no time should consecutive "Arrr."s be inserted, however.