Statistical properties of the cellular-automaton model for earthquakes.