Added a function that calculates how bills should be settled based on the current bills. It returns a list of tuples, where each tuple has a creditor, a debtor, and the amount to be paid. The creditor and debtor is a number between 0 and 9, based on the index of the participants. The amount to be paid is a double.
Added a function that calculates how bills should be settled based on the current bills. It returns a list of tuples, where each tuple has a creditor, a debtor, and the amount to be paid. The creditor and debtor is a number between 0 and 9, based on the index of the participants. The amount to be paid is a double.