```python
def list_split(S, step):
    """
    Splits a list for every nth element.

    Args:
        S: The list to be split.
        step: The size of each chunk.

    Returns:
        A list of lists, where each sublist is a chunk of the original list.
    """
    if step <= 0:
        raise ValueError("Step must be a positive integer.")
    
    result = []
    for i in range(0, len(S), step):
        chunk = S[i:i + step]
        result.append(chunk)
    return result

```