Added a method to determine coincidence of line segments
Successfully solves every test case except 12