Simulation of DNA fragment distributions after irradiation with photons