added functionality for exchanging particles between neighboring processors