updated coinFlip.py