calculateBinomialP function

calculate the probability, p, to conduct a binomial exact test