python: add importance-sampling simulation snippet for fair/biased dice