turn fair_coin to be recursive instead of interative