FOR ARRAY
idea workspace
Update to code, added the array random.