Printing out generations and best generation.