 // This will carry out the fades and so on. These must be run each loop! (!!!)
 void work() {
   boolean finish = true;
-  
+
   for (int lamp = 0; lamp < 4; lamp++) {
     if(lamps[lamp].work()) {
       finish = false;
     }
   }
-  
+
   if(finish) {
     // Sets all lamps to fade to a random color
     for (int lamp = 0; lamp < 4; lamp++) {


// This is our main loop
void loop() {
  
  // This is where the fun begins
  work();
  
} 

    int col[] = {random(0, 255),random(0, 255),random(0, 255)};
    lamps[lamp].setColor(col);
  }

  // Sleeps for 2 seconds to test the output before moving on
  delay(2000);
}
