def printLists(listToPrint: list, maxLineLength: int=100, sep: str='||'):
    """
    small function for printing list in a way that is a bit easier to read

    Paramaters:
    -----------
    listToPrint:list 
        a list that we want to print
    maxLineLength:int (default 100)
    sep:str (default '||')

    Example:
    --------
    >>> tmpList = ['ab', 'cd', 'ef']
    ... || ab || cd || ef ||
    """
    startSep = sep + ' '
    varSep = ' ' + sep + ' '
    lineToPrint = startSep
    for var in listToPrint:
        if len(var) + len(lineToPrint) + len(varSep) <= maxLineLength:
            lineToPrint = lineToPrint + var + varSep
        else:
            print(lineToPrint)
            lineToPrint = startSep + var + varSep
    print(lineToPrint)
