Completed Step 4 of for.php

Made sure only integers are entered in order for program to run.