uses Average to get the average length of the words in the string array.