Using Ultrasonic Range Finder SRF02 as Motion Detector

The first line of that sketch starts a comment, but where does it end?