Used argparse instead of getopt python module

getopt substituted with argparse python module, as parser for command line options