Add code to detect traffic-light-like  rectangles

It's working!