Dynamics of Two Interacting Particles in a Magnetic Field in Two Dimensions