Argparse

Reimplemented command line with python's argparse module

argparse  will make sure the user enters valid arguments and will automatically generate help messages.