Removed height check and swap when creating a huffman tree. Didn't work.
Don't try to build a right growing tree, but make the resulting huffman code the same as if generated by that tree.
(if you want to directly build a right growing tree, go ahead.. :D)
renamed functions to be consistent with the rest of the code
Merge branch 'master' of github.com:jschmer/jpgEnc