fun <E> List<E>.randomElement(): E?
Extension function on any list that will return a random element from index 0 to the last index