Code for use in the lab. Coincidence counting.