SICP 2.2: Line segments in a plane