A python script to run a biased lottery.