Java code that simulates a "prisoners dilemma" problem