Planetary Age Function

Creates an anonymous planetary age function which includes the
calculations for planetary ages and stores the values into variables.

Depending on the user’s planetary choice, the corresponding conditional
will run and return the appropriate value outside of the function.