Added a Triangle class and modified LineSegment.