Ternary Systems: Introduction to the Theory of Three Component Systems