The code is meant to generate a random number between 0 and 1 and store them as heads or tails and allows a user to guess heads or tails. So far I have gotten the guess to w