add Line.intersections method and fix indexing typo that caused Issue #5