adding validation on user input for iterations