What does the "range" function do exactly?