I wanted to write a simple huff tree table that would take a basic list
of frequenccy table and return the code for each character.
Say input would be:
//"print this out." is what the this table represents
10 1
32 2
46 1
104 1
105 2
110 1
111 1
112 1
114 1
115 1
116 3
117 1
The program will then convert to the code for each character and it
would look like the follwing:
117 000
32 001
105 010
10 0110
46 0111
104 1000
110 1001
111 1010
112 1011
114 1100
115 1101
116 111
If anyone has any ideas on how to start or how to make it read the list
from stdin and start this process that would be great.