fixed issue with trailing whitespace when adding values on the command line
added version flag, filled out command summary for help screen