Application Of The Mediator Design Pattern To Monte Carlo Simulation In Genetic Epidemiology