Added PathSegment class

- PathSegment represents ... path segment (i.e. two consecutive
waypoints)