def chunk(data:list, N:int):
    """
    Chunk a list into a list of list of size N
    :param data: list to chunk
    :param N: Chunk size
    :return: Chucked list (list of list)
    """
    array = []
    for i in range(0, len(data), N):
        line = data[i:i + N]
        array.append(line)
    return array