Completed coinFlip exercise