Gamblers ruin: The rules of the game
A gambler tosses a fair coin. Each time the coin lands heads, the
gambler gains a dollar and each time the coin lands tails, the gambler
loses a dollar. The game continues until the gambler either loses B
dollars (is r