A numerical 2-D model for crustal block dynamics in seismic regions