Added return on flip so that the number of flips can be counted.