Exercise 1-21 (Entab)

"Write a program entab that replaces strings of blanks by the minimum
number of tabs and blanks to achieve the same spacing.  ......"