Computational Nanoscience, Lecture 7: Monte Carlo Simulation Part I