Fixed bug where number of scanned elements were not counted and added command_line_options.h, a c++ wrapper for the command line arguments functions that provides higher-level argument handling