Specify an array length for randomly generated numbers