Phase Diagrams: Understanding the Basics