I need help with Servo Code

In that case, arrays and for loops.