code: def getGestureAndSegments(points):
      
      strokes, strokeSegments = _identifyStrokes(points)
      return list(zip(strokes, strokeSegments))
docs: Returns a list of tuples. The first item in the tuple is the directional
      integer, and the second item is a tuple of integers for the start and end
      indexes of the points that make up the stroke.