Huffman Algorithm WPF