change optparse to argparse, can choose number of packets sniffed