new subclasses of Segment class
Subclassed Segment into the concrete classes DistalSegment and ProximalSegment. Updated all relevant classes with the correct subclass instantiation