Probability of obtaining certain number of heads