Coin tossing for nerds