def batches(batch_size, features, labels):
    """
    Create batches of features and labels
    :param batch_size: The batch size
    :param features: List of features
    :param labels: List of labels
    :return: Batches of (Features, Labels)
    """
    assert len(features) == len(labels)
    
    n_features = len(features)
    
    cycles = int(n_features/batch_size) + 1
    
    batches = []
    
    for i in range(cycles):
        start = batch_size * i
        end = batch_size * (i + 1)
        batches.append([features[start: end], labels[start:end]])
    
    return batches