this is the 2nd version of huff compression