An Introduction to three-dimensional climate modeling