odd_even: pass 1st test: returns array from 1 to n