Moved the code which iterates through the list of particles and updates each one. The code used to be repeated in the Fire, Snow, and RainbowSnow classes. The repeated code was moved from the update() methods of each effect and placed into the update() method of their superclass, Effect. A call to super.update() was put in the place of the repeated code.