Question: Consider a two-candidate election in which the winner received a fraction p of the vote. If the votes are counted sequentially, what is the probability that the winner was ahead (or tied) at every stage of the election? This problem is the so-called ballot problem. Write a program that verifies the answer, assuming that and that large numbers of votes are the case.