Ruby Library to sample from a weighted distribution of objects.