Self-organized criticality in a crack-propagation model of earthquakes.