Revolving planets

Object A and B move in their own graviational field. Set initial values to their masses, positions and velocities at t=0. Investigate the kinds of movement this system of two objects does make in relation to the initial conditions.
The green dot represents de center of mass of A and B. [collisions are not detected].