def generate_instances(supervisor, quantity = self.quantity)
      quantity.times.map { |i| create_instance(supervisor) }
    end
def generate_instances(supervisor, quantity = self.quantity)
      quantity.times.map { |i| create_instance(supervisor) }
    end
Generate an array of new instances for this process (based on its quantity)