Black Holes obey the Laws of Thermodynamics. Heres how.