Fixed huffman coder to now print EOF and refactored code and comments.