Scan last port in range, validate user input

The last port in the range specified by the user will now be scanned.
Perform basic checks to make sure the user entered a host and port range