A function to pluralize words.
The rules for converting words to their plural forms
are based on the grammar rules found here:
https://www.grammarly.com/blog/plural-nouns/.
This function does not handle special cases, so particular care is necessary.