Topics in statistical mechanics