def unique_int(values):
    """
    if a list looks like 3,6
    if repeatedly called will return 1,2,4,5,7,8
    """
    last = 0
    for num in values:
        if last not in values:
            break
        else:
            last += 1
    return last
