I understand the random function,I just dont know how to keep count of which element of the array I already used