Repeated games: cheating, punishment, and outsourcing