completed coin flip simulation