Prisoner's dilemma inference code example