Adjust files to make it able to run automatically

Now it can run automatically with a random direction and a 100ms delay