Code for a working paper on new provinces creation.