add 0 case for binomial_coefficient