Numerical study of the propagation of electromagnetic waves 2D for DTD