Introduction to dense matter