I have a bunch of keys that each have an unlikeliness variable. I want to randomly choose one of these keys, yet I want it to be more unlikely for unlikely (key, values) to
(A year later) Walker's alias method for random objects with different probablities is very fast and very simple