def change_same_starting_points(flaglist):
    """Gets points at which changes begin"""
    change_points = []
    same_points = []
    in_change = False
    if flaglist and not flaglist[0]:
        same_points.append(0)
    for x, flag in enumerate(flaglist):
        if flag and not in_change:
            change_points.append(x)
            in_change = True
        elif not flag and in_change:
            same_points.append(x)
            in_change = False
    return change_points, same_points
