The Workings of Monte Carlo Methods