Command-line error detection and output fix

Fixed output to not display '0 is a prime number' when in an error
condition occurs.
Added usage text for command line inputs that don't provide a valid
input in first parameter.