Application of machine learning techniques to predict rupture propagation and arrest in 2-D dynamic earthquake simulations