Generate an array of numbers with numbers from 0 to max