additional changes made to play around with input from user adding integers to the array for checking