Ex nihilo


class Container{
     int parent_id;
     array children();
     int size = .01;
     array element();
}
class host{
     int parent_id;
     array children();
     int base;
}
function CosmicEvent(Container){
     int pwr_level = .01;
     return pwr_level * Container.size;
}
function runSimulation(){
     new Earth as Container
     set Earth.element('helium,hydrogen,iron');
     i = Earth.size
     for each i{
     set Earth.size = CosmicEvent(Earth);
     return Earth.children.add(i);
     i=i+.01;
     next i;
     }
ERROR:
     return err.description
}

runSimulation();

ERROR: Container failed to initialize, Parent_id cannot be NULL;