Makes an array from 1 up to the num