Earthquakes as chaos