Non linear optics with two trapped atoms