Computational Physics and Statistical Mechanics