Simulates the chaotic gravitational motion of three bodies by numerically integrating Newtonian equations using RK4 for accurate trajectory prediction.