def get_inputs( filename ):
    """
    Each input file has a grid of initial states. 
    This function returns a list of lists of each entry of each row of the grid
    """
    with open( filename, 'r' ) as input_file:
        return [ [entry for entry in row] for row in input_file.read().splitlines() ]