This code was created as a result of a challenge that was communicated to me.
Here is the complete challenge as posted to me:
" In the programming language of your choice, write a program that parses a sentence and replaces each
word with the following: first letter, number of distinct characters between first and last character, and
last letter. For example, Smooth would become S3h. Words are separated by spaces or non-alphabetic
characters and these separators should be maintained in their original form and location in the answer.
A few of the things we will be looking at is accuracy, efficiency, solution completeness. Please include
this problem description in the comment at the top of your solution. "