The Principles of Chemical Equilibrium