Some logic for pairing up bets