Added a function to scan hex file for extended address blocks and to some error checking. Added some comments.
Added ability to parse command-line options using the Boost program-options library.