added test to the process_input function to test for numbers greater than indicated should be entered