def lloc(l, n):
        """
        List location in list of list structure.
        Enable the use of negative locations:
        -1 is the last element, -2 second last...
        """
        if n < 0:
            return len(l[0]) + n
        else:
            return n

        List location in list of list structure.
        Enable the use of negative locations:
        -1 is the last element, -2 second last...
        
adbench/other_utils/utils.py