Simulating A Coin Flip Codehs