Added Check for numbers less than 1

Added a check so that numbers less than one are no longer a valid input.