Added randomize to phrases

Added a randomize function (courtesy of Jonas Raoni Soares Silva's
algorithm) to avoid phrases lining up at certain resolutions.