Output each generation.