Initial code for reading a hex file. Several features still missing.