Suppose that on each play of a game, a gambler either wins 1 with probability p or loses 1 with probability 1–p (or q). The gambler keeps betting until she or he is either up a total of n or down a total of m. What is the probability the gambler will quit an overall winner? You must consider both cases when p = 0.5 and when p ≠ 0.5