What is happening?
The planet follows Newtonian two-body motion under an inverse-square gravitational force. A circular orbit has speed √(GM/r); slower starts make ellipses, while sufficiently fast starts can escape. The simulation uses a velocity-Verlet style update.