def countSlopeChange(slopesBetweenJumps):
    """
    Counts the number of slope changes and corresponds that to sides
    slopesBetweenJumps: list of slopes
    Returns: side count
    """
    currSlope = 10000
    sides = 0
    for x in slopesBetweenJumps:
       if(abs(x - currSlope) > 10):
          sides +=1
          currSlope = x
    return sides