Update hoffmanencoding.cpp

Updated header