coin flip simulation for number of heads