Introduce WeightedSelector
Merge pull request #5 from liquidm/weighted_selector

Introduce WeightedSelector