A non-vertical line in the plane can be described by the slope/y intercept equation
y = m x + b
The Line class below models lines that are given in this way.
Your job is to find out whether two lines intersect. Lines with different slopes will always intersect. Lines with the same slope are parallel, so they don't intersect, except when they are identical.