First working version of huffman compression && encoding, decoding.