Created the LineSegment class, and updated the Bridge class.