[Haskell Huffman coding] 1st ver. co/dec OK