Introduction to epidemic modeling