Sketch for diebog

I guess omit the serial for now. I just need to figure out how to stop the code if the 10 second timeout is not true. It still needs to check to see if the beam is broke or not, I just don't want the code that follows the 10 second timeout to function if the beam is reconnected in the 10 second window. How do I do that?.