Two players take turns flipping their own coin, player 1 first. Player 1's
coin lands heads with probability p1, player 2's with p2. The first head
ends the game. Return the probability player 1 wins.
Condition on the first round. Player 1 wins immediately, or both miss and the game restarts unchanged:
Input
p1 = 0.5
p2 = 0.5
Output
0.6666666666666666