add another algorithm for binomial random variables