add method Arrays::randomElements