delete custom error messages, rely on stack trace
few corrections to HuffNode class
store frequencies in tree leaves
use ArrayList for easier tree building
remove empty leaves, then sort by count