Weighted Random Number Genarator added.
Merge pull request #4 from jackyyf/master

添加加权随机数