Argument checking added

Checks for proper arguments, also adds help feature.