OddEven prints an array of numbers from 1 to the input