new file:   huffEncoder.py