added Segment class to Ashlar and implemented intersection checking method
peparing for distinct polygon detection