Update haffman.cpp