Started to write generateHuffman
Basic structure for Hufman encoding