get a random array element.