def chunk_list(l, n):
    """
    Chunks list into N sized chunks as list of list.
    """
    if n <= 0:
        raise ValueError('Chunk size of %s specified, which is invalid, must be positive int.' % n)

    results = []
    for i in range(0, len(l), n):
        results.append(l[i:i + n])
    return(results)