huffman code research - funny bit operation