Suspected as double agents, three spies are arrested.
When questioned, there replies are as follows;
Alex: “Ben is a mole.”
Ben: “Cody is a mole.”
Cody: “Ben is lying.
Assuming that moles lie, other agents tell the truth, and there is just one mole among the three, who is the mole?