Implement the celestial collision detection.

The simulator will now test whether celestial bodies collide when the
simulator runs.
Avoid an unneeded named temporary variable.
Store the collided state in the property tree.
Add the simulator program.