Added checks to command line options

Needs better bounds checks

Needs a printout of use