Made the Program generic and fixed the bugs.
Fixed argparse