Types of Boundaries and Earthquakes