Added keeping track of the average score of a generation.