Computational Nanoscience, Lecture 11: Phase Transitions and the Ising Model