Use argparse to handle command line arguments. Fixes #9.