P50: first draft huffman encoding
Fixed issue where second queue was not dequeued completely

also added tests and removed zippers