goodGenes function needs to be accomplished