The development of a Monte Carlo code simulating electron-photon showers and its evaluation by various transport benchmarks