Thermodynamics and Equations of State for Matter:From Ideal Gas to Quark-Gluon Plasma