A domain decomposition parallel processing algorithm for molecular dynamics simulations of systems of arbitrary connectivity