def main():
    """
    Example to show AIKIF logging of results.
    Generates a sequence of random grids and runs the
    Game of Life, saving results
    """
    iterations  = 9     # how many simulations to run
    years       = 3    # how many times to run each simulation
    width       = 22     # grid height
    height      = 78     # grid width
    time_delay  = 0.03   # delay when printing on screen
    lg = mod_log.Log('test')
    lg.record_process('Game of Life', 'game_of_life_console.py')
    for _ in range(iterations):
        s,e = run_game_of_life(years, width, height, time_delay, 'N') 
        lg.record_result("Started with " +  str(s) + " cells and ended with " + str(e) + " cells")