A Python model of the kingdom building rules for the Pathfinder RPG