Update hoffmanencoding.cpp

Replaced the old file with out working turn in file