Simulation of exponential distribution