added argparse to use command line arguments

this feature will facilitate command line usage