private static void createAndFillHuffmanTree(int[] header) throws IOException
	{
			huffmanTree = new GradProjectDataStruct();
	        
			for(int i = 0; i < header.length; i++)
				if(header[i] != 0)
					huffmanTree.insert(new Node(header[i], i));
	        
			huffmanTree.createHuffTree();
			huffmanTree.fillHuffTable(huffmanTree.root);
	}