Added rangedArray() and randomArray()