Cosmological Electromagnetic Cascades simulation