Write a function range that takes one argument, a positive number, and returns an array containing all numbers from 0 up to and including the given number.