P50 Huffman code: Added additional test case

Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
P50 Huffman code: Add alternative solution

Which actually builds a Huffman Tree

Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>