two dogs on the beach huffman coding is the most known algorithm for deriving prefix codes i am astonished at it