Passing my basic test for building the huffman tree