Added error-handling

In case the user specifies non-numeric input...