chaned header guards, added more error handling to huffman