def splitDataset(data, column, valuetoDivide):
    """
        This function takes in the data and the value to divide on and splits the dataset into two divisions (postiive and negative),
        which will be assigned to the left/right childs of the dataset equivalently
    """
    positiveSet = [row for row in data if row[column] == valuetoDivide]
    negativeSet = [row for row in data if not row[column] == valuetoDivide]

    return (positiveSet, negativeSet)