Statistical Mechanics of Lattice Systems