added test coverage for the huffman tree
possibility of swapping and find max order

Signed-off-by: 9drashijin <9drashijin@live.com>