add lines_intersected method to geom::Rectangle
add midpoint method to geom::Line