Numerical simulation of the propagation of electromagnetic waves in ionospheric irregularities