For Loop Part 3

Added if statement incase of no input for the increment variable.