simple ir break beam (adafruit) not working

Hi, I’m a newbie with Arduino and I bought these IR sensors. I’m trying to do exactly what this page says but it’s not working.
Here’s the code and pics of the ciruit are attached
I am using an Arduino 2009 atmega328

    /* 
      IR Breakbeam sensor demo!
    */
     
    #define LEDPIN 13
      // Pin 13: Arduino has an LED connected on pin 13
      // Pin 11: Teensy 2.0 has the LED on pin 11
      // Pin  6: Teensy++ 2.0 has the LED on pin 6
      // Pin 13: Teensy 3.0 has the LED on pin 13
     
    #define SENSORPIN 4
     
    // variables will change:
    int sensorState = 0, lastState=0;         // variable for reading the pushbutton status
     
    void setup() {
      // initialize the LED pin as an output:
      pinMode(LEDPIN, OUTPUT);      
      // initialize the sensor pin as an input:
      pinMode(SENSORPIN, INPUT);     
      digitalWrite(SENSORPIN, HIGH); // turn on the pullup
      
      Serial.begin(9600);
    }
     
    void loop(){
      // read the state of the pushbutton value:
      sensorState = digitalRead(SENSORPIN);
     
      // check if the sensor beam is broken
      // if it is, the sensorState is LOW:
      if (sensorState == LOW) {     
        // turn LED on:
        digitalWrite(LEDPIN, HIGH);  
      } 
      else {
        // turn LED off:
        digitalWrite(LEDPIN, LOW); 
      }
      
      if (sensorState && !lastState) {
        Serial.println("Unbroken");
      } 
      if (!sensorState && lastState) {
        Serial.println("Broken");
      }
      lastState = sensorState;
    }

thanks

Some breadboards have a break in the middle of the power buses (horizontal buses with the blue and red stripes). Try jumping across the middle to make sure that each is a continuous power bus.

The circled place is where the bus connection may not be continuous. jump both lines on both sides.

right..thank you!