patmat initial commit
implement weight and chars
implement huffman methods