Thermodynamics and an Introduction to Thermostatistics