Simulation of Gamma-Ray Bursts from Cooling Relativistic Electrons