Prints out array from 1 to number that it was initialized with