Add numberOfSimulations.
Added configuration method. Added simulation loop.