3dvector and line Segment classes added