Display all numbers from starting to end using for loop