Update Coin.java

 when Math.random < 0.5, choose heads and else choose tails