add fun rand_by_weight
Merge branch 'master' of https://github.com/sellmoe/erlang_util_tools