Added function to Text Class

Added averageWordLength function, noted future plan for
averageSentenceLength function.