use argparse to parse arguments.