Source code for the Title Generator for Crusader Kings II.