Random Draw

hai,

I built a mini CNC "Mini CNC by Sembot - Thingiverse" and now I want the Mini CNC do anything but random and autonomous
Such as random X-axis, Y-axis and Z-axis search
X-axis random left or right, or do nothing
Y-axis should do random front or back or nothing
Z-axis random up or down
And all this additional random
I have a program that does all part but the X axis usually comes first ,then the Y axis and then the Z axis , what they do is okay but the shafts should be chosen randomly

Who can help

#include <Servo.h>

Servo xservo;
Servo yservo;
Servo Zservo;

int xpos;
int ypos;
int Zpos;

void setup ()
{
xservo.attach (3);
yservo.attach (5);
Zservo.attach (6);
}

void run ()
{
{
ypos = random (180); // Generate random value for Y-servo
yservo.write (ypos); // Y-servo moves to new position
delay (2000);
}
{
xpos = random (180); // Generate random value for x-servo
xservo.write (xpos); // X-servo moves to new position
delay (2000);
}
{
Zpos = random (25); // Generate random value for x-servo
Zservo.write (Zpos); // X-servo moves to new position
delay (200);
}
}

mvg

The positions are chosen randomly. What is your problem?