Created RectilinearEdge to deal with shared sides between rectangles