Resolving conflicts of interest and ideologies: A simulation of political decision-making