program for scrambling a text based on the frequency with which pairs of words appear in the original text