if else commands

@UKHeliBob: I originally had one 5v power supply for all of the sensors, but i was made to believe that the issue was because they were all wired in parallel. I don't think that's the case, but i haven't had the time to switch it back yet. I know the tone thing makes no sense, but it is happening. All of the tones being produced are identical and the tone produced sounds close to the average. I added the Serial.print() before the tone() like you suggested, and everything is activating properly and when it should.

@PaulS: Thanks for the advice