program help

What's wrong with that?

The semicolon at the end?

Sure, you and I would no doubt write it as if(!digitalRead(InfraredSensorPin)) {...}, but "if(...==LOW)" is easier to understand.

You, maybe. Me? Never.