The most spectacular overcomplication of a homework problem you have ever seen. 24 straight hours of writing, math, and programming to answer a question that should have taken 20 minutes. Please enjoy the fruits of my completely unnecessary labor.
See the final version of the paper at immigrationproblem.pdf