Wrote function to extract codes from Huffman trees

Ready to build encoding function now!