Generate an alphabet from a given text

The class AlphabetGenerator generates from a given text an alphabet that
is suitable for the HuffmanCoder class. It properly counts the
occurrences of every single character.