Created Coin toss function