Modified RandomArray to generate an array of uint and changed the generation into an index swap.