I am a woman so I'm not sure how a man thinks because.... well, I have a V instead of a P.
But I don't think men are programed the cheat. I don't believe that, I think that is a cock-out or a reason for them to cheat when they say that. "I can't help it, I'm a guy..." Um, no, you CAN help it you just want to get away with it.
Sex is tempting for women as much as it is for men, I know men who can hold out a lot longer then women can.
So my answer is no, I don't think men are genetically programed to cheat, if a man cheats he's just a dick.