Numerical simulations in particle physics