1062. Coin toss algorithm | ScratchStats