This is a sample program to show how a learning agent can
    be logged using AIKIF. 
    The idea is that this main function is your algorithm, which
    will run until it finds a successful result. The result is 
    returned and the time taken is logged.
    
    There can optionally be have additional functions 
    to call to allow for easy logging access

def main(arg1=55, arg2='test', arg3=None):
    """
    This is a sample program to show how a learning agent can
    be logged using AIKIF. 
    The idea is that this main function is your algorithm, which
    will run until it finds a successful result. The result is 
    returned and the time taken is logged.
    
    There can optionally be have additional functions 
    to call to allow for easy logging access
    """
    print('Starting dummy AI algorithm with :', arg1, arg2, arg3)
    
    if arg3 is None:
        arg3=[5,6,7,5,4,]
    result = arg1 + arg3[0] * 7566.545  # dummy result
    
    print('Done - returning ', result)
    return result