Coin Flipping Algorithm | ScratchStats