simple motion sensor

const int ledPin1 = 1;
const int ledPin2 = 2;
const int ledPin3 = 3;
const int ledPinMain = 4;

ok?