Understanding A/B testing through Monte Carlo simulation