code takes sensor input from a random pin now.

TODO: MAKE SURE THAT THE PIN GETS CHANGED TO THE MOTION DETECTOR PIN.