Creates a new Vec with
n entries of the specified data type.
elements are NOT assigned by default and have no value
Creates a new Vec of length
n composed of the result of the given
function repeatedly applied.
number of elements (and the number of times the function is called)
function that generates the Data that becomes the output element