Not ready for prime time java. Ten rotations for two revolving planets with two moons.