The Monte Carlo Method in Condensed Matter Physics